package toolsgo

type ListHandler interface {
	GetList(bookid string) []Chapter
}

type SearchHandler interface {
	Search(keywords string) []Book
}

type DownloadHandler interface {
	Download(chapter string) string
}

type ExportHandler interface {
	ExportTxt(ids string) string
}

type Book struct {
	Name   string
	Author string
	BookID string
	Source string
	Status string
}

type Chapter struct {
	Name      string
	ChapterID string
}
